package com.example.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class Goods {

    @Id(autoincrement = true)
    private Long id;

    private String user_id;
    private String user_img;
    private String user_name;
    private int user_phone;
    private String user_pwd;
    private String user_sex;
    private boolean login = false;

    public Goods(String user_id, String user_img, String user_name, int user_phone, String user_pwd, String user_sex, boolean login) {
        this.user_id = user_id;
        this.user_img = user_img;
        this.user_name = user_name;
        this.user_phone = user_phone;
        this.user_pwd = user_pwd;
        this.user_sex = user_sex;
        this.login = login;
    }

    @Generated(hash = 1695985114)
    public Goods(Long id, String user_id, String user_img, String user_name,
            int user_phone, String user_pwd, String user_sex, boolean login) {
        this.id = id;
        this.user_id = user_id;
        this.user_img = user_img;
        this.user_name = user_name;
        this.user_phone = user_phone;
        this.user_pwd = user_pwd;
        this.user_sex = user_sex;
        this.login = login;
    }
    @Generated(hash = 1770709345)
    public Goods() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUser_id() {
        return this.user_id;
    }
    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }
    public String getUser_img() {
        return this.user_img;
    }
    public void setUser_img(String user_img) {
        this.user_img = user_img;
    }
    public String getUser_name() {
        return this.user_name;
    }
    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }
    public int getUser_phone() {
        return this.user_phone;
    }
    public void setUser_phone(int user_phone) {
        this.user_phone = user_phone;
    }
    public String getUser_pwd() {
        return this.user_pwd;
    }
    public void setUser_pwd(String user_pwd) {
        this.user_pwd = user_pwd;
    }
    public String getUser_sex() {
        return this.user_sex;
    }
    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }
    public boolean getLogin() {
        return this.login;
    }
    public void setLogin(boolean login) {
        this.login = login;
    }


}
